﻿using System;
using Gean.Interface;

namespace Pansoft.Authority.Entities
{
    /// <summary>组织。在金融系统的排队管理中，是不同级别的“行”，如省行，市行，营业厅等。
    /// </summary>
    public class OrganizationBase : IEntityInfo, IIdentifiedEntity<string>
    {
        /// <summary>组织编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>组织名称
        /// </summary>
        public string Name { get; set; }

        #region Implementation of IEntityInfo

        /// <summary>实体的创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>实体的修改时间
        /// </summary>
        public DateTime ModifiedTime { get; set; }

        /// <summary>实体的创建人的ID
        /// </summary>
        public string CreaterId { get; set; }

        /// <summary>实体的修改人的ID
        /// </summary>
        public string MenderId { get; set; }

        /// <summary>实体是否是被删除状态
        /// </summary>
        public bool IsDeleted { get; set; }

        #endregion
    }
}
